<h2>Mudança de senha</h2>

<% form_for resource_name, resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
  <%= f.error_messages %>
  <%= f.hidden_field :reset_password_token %>
  <ul>
  <li><%= f.label :password, 'Nova senha' %></li>
  <li><%= f.password_field :password %></li>

  <li><%= f.label :password_confirmation, 'Confirmação da nova senha' %></li>
  <li><%= f.password_field :password_confirmation %></li>

  <li><%= f.submit "Mudar minha senha" %></li>
  </ul>
<% end %>

<%= render :partial => "shared/devise_links" %>